﻿using System;
using System.Web;
using System.Collections.Generic;
using System.Data;
namespace BLL
{
    public class LotteryAnnouncementMy
    {
        private static Data.LotteryAnnouncementMy Data_Newscont = new Data.LotteryAnnouncementMy();
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.LotteryAnnouncementMy model)
        {
            return Data_Newscont.Add(model);
        }
        public static Model.LotteryAnnouncementMy NewsTopOne(string sql)
        {
            return Data_Newscont.GetModelBysql(sql);
        }
        public static List<Model.LotteryAnnouncementMy> GetPageListBysqlfrom(int pageIndex, int pageSize, string where, string fromTable)
        {
            return Data_Newscont.GetPageListBysqlfrom(pageIndex, pageSize, where, fromTable);
        }
        public static DataTable GetPageListBysql(string sql)
        {
            return Data_Newscont.GetPageListBysql(sql);
        }
    }
}
